function onSay(cid, words, param)
local playerName = getPlayerByName(param)
	if(string.len(param) > 0) then
		if(playerName ~= FALSE) then
			doTeleportThing(playerName, getPlayerTown(playerName))
		else
			doPlayerSendCancel(cid, 'Player '.. param ..' is offline.')
		end
	else
		doTeleportThing(cid, getPlayerMasterPos(cid))
	end
end